package com.youlg.service.Books;

import com.youlg.pojo.Admin;
import com.youlg.pojo.Books;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface BookService {
    //添加
    int addBook(Books book);

    //删除
    int deleteBookById(int id);

    //更改
    int updateBook(Books books);

    //查询指定id
    Books queryBookId(int id);

    //查询全部
    List<Books> queryAllBook();

    List<Books> queryBookName(String bookName);


}
